//
//  GetSelfViewController.m
//  17DianYing
//
//  Created by apple on 15/9/14.
//  Copyright (c) 2015年 apple. All rights reserved.
//

#import "GetSelfViewController.h"
#import "GetSelfManager.h"
@interface GetSelfViewController ()

@property(nonatomic,strong)GetSelfManager *getSelfM;

@end

@implementation GetSelfViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.getSelfM = [GetSelfManager share];
    [self getSelfInformation];
    // Do any additional setup after loading the view.
}

-(void)getSelfInformation
{
    NSUserDefaults *user = [NSUserDefaults standardUserDefaults];
    NSString *userId = [user objectForKey:@"userid"];
    [self.getSelfM getSelfWithID:userId BlockHoudle:^(NSDictionary *dic) {
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
